## Game update script

#### Description

Automates following steps:

1. Check for game updates
2. Download the game files
3. Revert any previously applied patches
4. Install or update the game files
5. Apply the newest patch


#### Requirements

This script requires following applications:

 * Either `aria2c`, `wget` or `curl` (file download)
 * `xdelta3` (patch script)


#### Usage instructions

The steps are the same as with the regular patch scripts:

	cd "/path/to/Genshin Impact Game"

	# Run the update script
	bash "/path/to/GI-on-Linux/updater/update_gi.sh"

Follow the script as instructed.

If errors occur after updating the game files, proceed using the [original patch guide](../#applying-the-workaround).